package com.vegetable.modules.service.outbound;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vegetable.modules.entity.outbound.SalesOutDeduction;
import com.vegetable.modules.entity.outbound.po.SalesOutDeductionAddPO;
import com.vegetable.modules.entity.outbound.po.SalesOutDeductionPO;
import com.vegetable.modules.entity.outbound.po.SalesOutDeductionUpdatePO;

import java.util.List;

public interface ISalesOutDeductionService extends IService<SalesOutDeduction> {

    IPage<SalesOutDeduction> selectPage(SalesOutDeductionPO po);

    void addDeduction(SalesOutDeductionAddPO po);

    void batchAddDeduction(List<SalesOutDeductionAddPO> pos);

    void updateDeduction(SalesOutDeductionUpdatePO po);

    List<SalesOutDeduction> getSalesOutDeductionByOutId(Long outId);

    List<SalesOutDeduction> getSalesOutDeductionByFCId(Long fcId);
}
